home *** CD-ROM | disk | FTP | other *** search
/ TeX 1995 July / TeX CD-ROM July 1995 (Disc 1)(Walnut Creek)(1995).ISO / tex-k / tex-k-archive.past / tex-k-archive.gz / tex-k-archive / 000321_jp107@amtp.cam.ac.uk_Thu, 17 Feb 94 15:23 GMT.msg < prev    next >
Internet Message Format  |  1994-10-11  |  2KB

  1. Received: from kro.amtp.cam.ac.uk by cs.umb.edu with SMTP id AA14347
  2.   (5.65c/IDA-1.4.4 for <tex-k@cs.umb.edu>); Thu, 17 Feb 1994 10:23:30 -0500
  3. Return-Path: <J.S.Peatfield@damtp.cambridge.ac.uk>
  4. Received: from local MTA by kro.amtp.cam.ac.uk with Smail-3.1.28.1
  5.      id m0pXAGr-00020QC; Thu, 17 Feb 94 15:04 GMT
  6. Message-Id: <m0pXAGr-00020QC%kro.amtp.cam.ac.uk@damtp.cambridge.ac.uk>
  7. Date: Thu, 17 Feb 94 15:23 GMT
  8. To: tex-k@cs.umb.edu
  9. Subject: output names
  10. From: Jon Peatfield <J.S.Peatfield@amtp.cam.ac.uk>
  11.  
  12. While trying to track down a problem with oname being overwritten with
  13. garbage on one of our machines I noticed that while everywhere else
  14. that '!' means pipe, so does '|' it doesn't in one of the routines in
  15. dvips.c, here is a very small patch.
  16.  
  17. --cut-here--
  18. *** dvipsk/dvips.c.orig    Wed Feb  2 14:13:40 1994
  19. --- dvipsk/dvips.c    Thu Feb 17 12:28:42 1994
  20. ***************
  21. *** 383,389 ****
  22.   
  23.      if (oname == 0 || *oname == 0)
  24.         error("! need an output file name to specify separate files") ;
  25. !    if (*oname != '!') {
  26.         if (seqptr == 0) {
  27.            oname = newstring(oname) ;
  28.            seqptr = 0 ;
  29. --- 383,389 ----
  30.   
  31.      if (oname == 0 || *oname == 0)
  32.         error("! need an output file name to specify separate files") ;
  33. !    if (*oname != '!' && *oname != '|') {
  34.         if (seqptr == 0) {
  35.            oname = newstring(oname) ;
  36.            seqptr = 0 ;
  37. --cut-here--
  38.  
  39. The problem I had with oname corruption goes away if I add debugging
  40. or compile with less that -O2 (hp700 using gcc), so I've got no idea
  41. what the real problem is.
  42.  
  43. -- Jon
  44.  
  45. Jon Peatfield, Computer Officer, the DAMTP, University of Cambridge
  46. Telephone: (+44 223) 3-37852     Mail: J.S.Peatfield@amtp.cam.ac.uk
  47.  
  48.       Talk to your users about PP, before someone else does!